package com.nfc.demo;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.google.android.gms.maps.MapFragment;

public class MyMapFragment extends MapFragment
{

	private MapFragment instance = null;

	public MapFragment getInstance()
	{
		return instance;
	}

	public void setInstance(MapFragment instance)
	{
		this.instance = instance;
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
	{
		return super.onCreateView(inflater, container, savedInstanceState);
	}

	public void onResume()
	{
		super.onResume();

		((NFCTouristActivity) getActivity()).setContents();
	}

}
